package com.romotc.qqrobot.webqq.bean;
import java.io.IOException;

import org.codehaus.jackson.JsonGenerationException;
import org.codehaus.jackson.map.JsonMappingException;

import com.romotc.json.tools.Jackson;


/**
 * 
 * @author Administrator
 				/**
					r:{"account":2761004869,
						"myallow":1,"groupid":1,"msg":"加下我吧",
						"token":"5c3c5e53e82ee3fef25c3824de22b4eda82bd773c9ae99aa",
						"vfwebqq":"491554136aea84abce329cd2f7781e32490a7e017428d2cbdc78e5d4f17e95ebca144cf31282cfe4"}
				 */
public class Add_need_verify2_RequestBody {
	private Add_need_verify2_RequestBody_R r;

	public Add_need_verify2_RequestBody_R getR() {
		return r;
	}

	public void setR(Add_need_verify2_RequestBody_R r) {
		this.r = r;
	}
	
	
	@Override
	/**
{"r":{"account":2761004869,"myallow":1,"groupid":0,"msg":"加—+","token":"b479d87c672ff2b53640739e814d0c368bc01d82880908d8","vfwebqq":"778e3fd3ac3052751c9126b2858acd51283951a0ddb388445b9abb57287b6f6ad6f69cfb1465065b"}}

r:{"account":2761004869,"myallow":1,"groupid":0,"msg":"ddd",
					"token":"bac641367d84063b39e9d3f92a40334485556bc85446ea3d",
					"vfwebqq":"fc71a50e8187d4385af3aad55a09f19f8b26edb925ed7c28b7d85e1fab1372c313f2c02393a9b3bb"
				  }
	 */
	public String toString() {
		try {
			return "r=" + Jackson.getObjectMaper().writeValueAsString(this.r);
		} catch (JsonGenerationException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (JsonMappingException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
		return null;
	}

}
